package com.est.pc.domain;

import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * @Function:
 * @author: Mr.Han
 * @create: 2019-12-11 12:42
 **/
public class UserInfoMiddle {

    private Long userId;//用户编号

    private String userName;//登陆账号

    private String userPassword;//密码

    private Long userStudentNumber;//学号

    private String userRealname;//真实姓名

    private String userSex;//性别

    private  String userImgurl;//头像

    private Long userTelphone;//手机号

    private String userEmail;//邮箱

    private String userIsUser;//使用状态

    private Short userIsDays;//有效访问时长

    private Date userCreatetime;//创建时间

    private Date userModifiedtime;//修改时间
    private MultipartFile realpath;//上传的路径位置
    private Integer studentNum;//学生人数

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Long getUserStudentNumber() {
        return userStudentNumber;
    }

    public void setUserStudentNumber(Long userStudentNumber) {
        this.userStudentNumber = userStudentNumber;
    }

    public String getUserRealname() {
        return userRealname;
    }

    public void setUserRealname(String userRealname) {
        this.userRealname = userRealname;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserImgurl() {
        return userImgurl;
    }

    public void setUserImgurl(String userImgurl) {
        this.userImgurl = userImgurl;
    }

    public Long getUserTelphone() {
        return userTelphone;
    }

    public void setUserTelphone(Long userTelphone) {
        this.userTelphone = userTelphone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserIsUser() {
        return userIsUser;
    }

    public void setUserIsUser(String userIsUser) {
        this.userIsUser = userIsUser;
    }

    public Short getUserIsDays() {
        return userIsDays;
    }

    public void setUserIsDays(Short userIsDays) {
        this.userIsDays = userIsDays;
    }

    public Date getUserCreatetime() {
        return userCreatetime;
    }

    public void setUserCreatetime(Date userCreatetime) {
        this.userCreatetime = userCreatetime;
    }

    public Date getUserModifiedtime() {
        return userModifiedtime;
    }

    public void setUserModifiedtime(Date userModifiedtime) {
        this.userModifiedtime = userModifiedtime;
    }

    public MultipartFile getRealpath() {
        return realpath;
    }

    public void setRealpath(MultipartFile realpath) {
        this.realpath = realpath;
    }

    public Integer getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(Integer studentNum) {
        this.studentNum = studentNum;
    }

    @Override
    public String toString() {
        return "UserInfoMiddle{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userStudentNumber=" + userStudentNumber +
                ", userRealname='" + userRealname + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userImgurl='" + userImgurl + '\'' +
                ", userTelphone=" + userTelphone +
                ", userEmail='" + userEmail + '\'' +
                ", userIsUser='" + userIsUser + '\'' +
                ", userIsDays=" + userIsDays +
                ", userCreatetime=" + userCreatetime +
                ", userModifiedtime=" + userModifiedtime +
                ", realpath=" + realpath +
                ", studentNum=" + studentNum +
                '}';
    }
}
